/**
 * @Project Name:hoofungson-elk-log
 * @Package Name:cn.hoofungson.framework.elk.log.domain
 * @Since JDK 1.8
 */

package cn.hoofungson.framework.elk.log.domain;

import lombok.Data;

/**
 * @Description: 应用信息
 * @Author 胡松 hoofungson@163.com
 * @Date 2019-09-04 11:20
 * @Version V1.0
 */
@Data
public class AppInfo {

    /**
     * 应用ID
     **/
    private String appId;

    /**
     * 端口
     **/
    private String port;

    /**
     * 输出格式
     **/
    private String contentFormat;

    /**
     * 日志目录
     **/
    private String filePath;

    /**
     * 网卡名称
     **/
    private String netCardName;

    /**
     * 支持APM
     * **/
    private String supportApm;

    public AppInfo() {
    }

    public AppInfo(String appId, String port, String contentFormat, String filePath) {
        this.appId = appId;
        this.port = port;
        this.contentFormat = contentFormat;
        this.filePath = filePath;
    }

    public AppInfo(String appId, String port, String contentFormat, String filePath, String netCardName) {
        this.appId = appId;
        this.port = port;
        this.contentFormat = contentFormat;
        this.filePath = filePath;
        this.netCardName = netCardName;
    }

    public AppInfo(String appId, String port, String contentFormat, String filePath, String netCardName, String supportApm) {
        this.appId = appId;
        this.port = port;
        this.contentFormat = contentFormat;
        this.filePath = filePath;
        this.netCardName = netCardName;
        this.supportApm = supportApm;
    }
}
